const APIS_HEART_MANAGE = {
    // 帮扶对象增删改查
    POORLIST: {
        url: '/helppoors/list',
        method: 'post'
    },

    APPENDPOOR: {
        url: '/helppoors',
        method: 'post'
    },

    EDITPOOR: {
        url: '/helppoors',
        method: 'put'
    },

    DELETEPOOR: (id) => ({
        url: `/helppoors/${id}`,
        method: 'delete'
    }),

    // 帮扶干部增删改查
    CADRELIST: {
        url: '/helpcadres/list',
        method: 'post'
    },

    APPENDCADRE: {
        url: '/helpcadres',
        method: 'post'
    },

    EDITCADRE: {
        url: '/helpcadres',
        method: 'put'
    },

    DELETECADRE: (id) => ({
        url: `/helpcadres/${id}`,
        method: 'delete'
    })
};

export default APIS_HEART_MANAGE;